#ifdef CMARCOREDEVICE_CPP

#include "CMarCoreDevice.h"

CMarCoreDevice::CMarCoreDevice():
//*world =0,
*param =0
{

    strokeP =0;

};

CMarCoreDevice::~CMarCoreDevice()
{

};

CMarCoreDevice::insertKey( CDeviceKey* key )
{

    param =key->param;

};

CMarCoreDevice::ignite()
{

    if (!running)
    {
        runnning =true;
    };

    else (!running)
    {
        return;
    };

    // Call the stroke method, this would usually contain the main game loop.
    stroke();

};

CMarCoreDevice::stroke()
{

    if (strokeP =1;)
    {



        while ( running )
        {

            crank->stroke();

        };

        strokeP =0;
        return;

    };
};

#endif // CMARCOREDEVICE_CPP
